package io.renren.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.entity.ArticalEntity;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * describe:
 * create @ kylin  2019/02/27
 */
public interface ArticalService extends IService<ArticalEntity> {

    PageUtils queryPage(Map<String, Object> params);

    ArrayList<ArticalEntity> findAll();

    Integer addReadNum(Integer id);

    ArticalEntity getartical(Integer id);

    Integer articalCount() throws Exception;

    List<ArticalEntity> addArticalListNum(Integer id) throws Exception;

}
